<?php
namespace app\admin\model;

class ArticleModel extends \app\common\model\project_model\ArticleModel {
    public static function generateToken() {
        list($millisecond, $second) = explode(' ', microtime());
        $millisecond_time = (float)sprintf('%.0f', (floatval($millisecond) + floatval($second)) * 1000);
        return md5($millisecond_time);
    }
}